package com.neu.flashmall.product.mapper;

import com.neu.flashmall.product.entity.PmsAttrGroup;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author 50286
* @description 针对表【pms_attr_group(属性分组)】的数据库操作Mapper
* @createDate 2022-07-10 15:45:25
* @Entity com.neu.flashmall.product.entity.PmsAttrGroup
*/
@Mapper
public interface PmsAttrGroupMapper {

    int deleteByPrimaryKey(Long id);

    int insert(PmsAttrGroup record);

    int insertSelective(PmsAttrGroup record);

    PmsAttrGroup selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PmsAttrGroup record);

    int updateByPrimaryKey(PmsAttrGroup record);

    List<PmsAttrGroup> selectDuplicate(@Param("id") Long id,@Param("name") String name,@Param("categoryId") Long categoryId);

    List<PmsAttrGroup> selectAll();
}
